#ifndef PROG_TRIGGER_H
#define PROG_TRIGGER_H
#include "defines.h"
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/pgmspace.h>

#include "module_program.h"
#include "module_events.h"
#include "module_io.h"
#include "time.h"
#include "mcp2515.h"

extern int8_t prog_trigger_init(void);
extern int8_t prog_trigger_uninit(void);
extern int8_t prog_trigger_run(void);
extern void prog_trigger_update_text(int16_t);
//typedef Event Event;
//int test_func(Program *);
extern void prog_trigger_buttonpressed(Event *);
extern void prog_trigger_potchange(Event *);


#endif
